package org.nahtanoj.contacts;

public class Fault {
	private String event;
	private String fault;
	private String data;

	public Fault(String event, String fault, String data) {
		this.event = event;
		this.fault = fault;
		this.data = data;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getFault() {
		return fault;
	}

	public void setFault(String fault) {
		this.fault = fault;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append(this.event);
		sb.append(":");
		sb.append(this.fault);
		sb.append("\t");
		sb.append(this.data);
		return sb.toString();
	}
}
